<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,add,edit,del,import')}

                        <div class="dropdown btn-group {:$auth->check('store/preproduct/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
                            </ul>
                        </div>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('store/preproduct/edit')}" 
                           data-operate-del="{:$auth->check('store/preproduct/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="customformtpl" type="text/html">
    <form action="" class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap">
        <fieldset>
            <div class="row">

                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label for="start_time" class="control-label col-xs-4">产品名称</label>
                    <div class="col-xs-8">

                        <input type="text" class="form-control" value="" id="cname" name="cname" value=""  data-index="3" />
                    </div>
                </div>

                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label for="department" class="control-label col-xs-4">产品分类</label>
                    <div class="col-xs-8">
                        <div class="form-inline" data-toggle="cxselect" data-name="name" data-selects="first,second,three">
                            <select class="first form-control"  data-rule="required" name="area[first]"  data-url="ajax/housecate?type=1&t=1&amp;pid=0">
                            </select>
                            <select class="second form-control"   data-rule="required"  name="area[second]" data-url="ajax/housecate?type=1&t=2" data-query-name="pid">
                            </select>
                            <select class="three form-control"    data-rule="required" name="area[three]" data-url="ajax/housecate?type=1&t=3" data-query-name="pid">
                            </select>

                        </div>
                    </div>
                </div>

                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <div class="col-sm-8 col-xs-offset-4">
                        <button type="submit" class="btn btn-success" formnovalidate="">提交</button>
                        <button type="reset" class="btn btn-default">重置</button>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>
</script>